<div class="ui-tab">
    <ul>
        <li class="tab-item <{if $action eq setList}>selected<{/if}>"><a href="<{u(setList)}>" onclick="LayerShow();">红包活动</a></li>

        <li class="tab-item <{if $action eq recordList}>selected<{/if}>"><a href="<{u(recordList)}>" onclick="LayerShow();">红包记录</a></li>
        <{if $action eq add}><li class="tab-item selected"><a href="<{u(add)}>" onclick="LayerShow();">添加红包活动</a></li> <{/if}>
        <{if $action eq edit}><li class="tab-item selected"><a href="<{u(edit)}>" onclick="LayerShow();">修改红包活动</a></li> <{/if}>
    </ul>
</div>